package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞赛获奖对象 stu_competition
 * 
 * @author ruoyi
 * @date 2024-01-10
 */
public class StuCompetition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 竞赛 ID */
    private Long comId;

    /** 竞赛名称 */
    @Excel(name = "竞赛名称")
    private String comName;

    /** 发布机构 */
    @Excel(name = "发布机构")
    private String comInstitution;

    /** 颁布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "颁布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comGettime;

    /** 作品名 */
    @Excel(name = "作品名")
    private String comCreationname;

    /** 奖项级别（校级？省级？国家级？） */
    @Excel(name = "奖项级别", readConverterExp = "校=级？省级？国家级？")
    private String comSize;

    /** 奖项等级（一、二、三等奖等等） */
    @Excel(name = "奖项等级", readConverterExp = "一=、二、三等奖等等")
    private String comLevel;

    /** 获奖对象（个人or团队） */
    @Excel(name = "获奖对象", readConverterExp = "个=人or团队")
    private String comObject;

    /** 团队排名 */
    @Excel(name = "团队排名")
    private String teamRanking;

    /** 指导老师 */
    @Excel(name = "指导老师")
    private String comInstructor;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String attachmentsPath;

    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setComName(String comName) 
    {
        this.comName = comName;
    }

    public String getComName() 
    {
        return comName;
    }
    public void setComInstitution(String comInstitution) 
    {
        this.comInstitution = comInstitution;
    }

    public String getComInstitution() 
    {
        return comInstitution;
    }
    public void setComGettime(Date comGettime) 
    {
        this.comGettime = comGettime;
    }

    public Date getComGettime() 
    {
        return comGettime;
    }
    public void setComCreationname(String comCreationname) 
    {
        this.comCreationname = comCreationname;
    }

    public String getComCreationname() 
    {
        return comCreationname;
    }
    public void setComSize(String comSize) 
    {
        this.comSize = comSize;
    }

    public String getComSize() 
    {
        return comSize;
    }
    public void setComLevel(String comLevel) 
    {
        this.comLevel = comLevel;
    }

    public String getComLevel() 
    {
        return comLevel;
    }
    public void setComObject(String comObject) 
    {
        this.comObject = comObject;
    }

    public String getComObject() 
    {
        return comObject;
    }
    public void setTeamRanking(String teamRanking) 
    {
        this.teamRanking = teamRanking;
    }

    public String getTeamRanking() 
    {
        return teamRanking;
    }
    public void setComInstructor(String comInstructor) 
    {
        this.comInstructor = comInstructor;
    }

    public String getComInstructor() 
    {
        return comInstructor;
    }
    public void setAttachmentsPath(String attachmentsPath) 
    {
        this.attachmentsPath = attachmentsPath;
    }

    public String getAttachmentsPath() 
    {
        return attachmentsPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("comId", getComId())
            .append("comName", getComName())
            .append("comInstitution", getComInstitution())
            .append("comGettime", getComGettime())
            .append("comCreationname", getComCreationname())
            .append("comSize", getComSize())
            .append("comLevel", getComLevel())
            .append("comObject", getComObject())
            .append("teamRanking", getTeamRanking())
            .append("comInstructor", getComInstructor())
            .append("remark", getRemark())
            .append("attachmentsPath", getAttachmentsPath())
            .toString();
    }
}
